package com.validacion.direcciones.exception;

public class MatchAddressException extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3849966703674671588L;
	protected String code;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public MatchAddressException() {
        super();
    }

    public MatchAddressException(String message, Throwable cause) {
        super(message, cause);
    }

    public MatchAddressException(String message) {
        super(message);
    }

    public MatchAddressException(String code, String message) {
        super(message);
        setCode(code);
    }

    public MatchAddressException(Throwable cause) {
        super(cause);
    }
}
